package win.doyto.service.data.report;

import win.doyto.service.data.config.ReportConfigEntity;

import java.io.IOException;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;

/**
 * ReportService
 *
 * @author f0rb on 2017-12-20.
 */
public interface ReportService {

    String fetchAndWrite(OutputStream output, List<ReportConfigEntity> reportConfigEntities, Map<String, Object> params) throws IOException;

    String getExtension();
}
